@extends('layouts.dashboard')

@section('content')
    <div class="row">
        <div class="col-lg-3">
            <div class="ibox ">
                <div class="ibox-title">
                    <span class="label label-info float-right">待处理</span>
                    <h5>待接单</h5>
                </div>
                <div class="ibox-content">
                    <h1 class="no-margins">
                        <a href="{{route('order.wait_receive')}}">
                            {{$data['wait_receive_num']}}
                        </a>
                    </h1>
                    {{--<div class="stat-percent font-bold text-success"> <i class="fa fa-bolt"></i></div>--}}
                    <small>订单数量</small>
                </div>
            </div>
        </div>
        <div class="col-lg-3">
            <div class="ibox ">
                <div class="ibox-title">
                    <h5>配送中</h5>
                </div>
                <div class="ibox-content">
                    <h1 class="no-margins">
                        <a href="{{route('order.distribution')}}">
                            {{$data['distribution_num']}}
                        </a>
                    </h1>
                    {{--<div class="stat-percent font-bold text-success"> <i class="fa fa-bolt"></i></div>--}}
                    <small>订单数量</small>
                </div>
            </div>
        </div>

        <div class="col-lg-3">
            <div class="ibox ">
                <div class="ibox-title">
                    <span class="label label-info float-right">待处理</span>
                    <h5>提现申请</h5>
                </div>
                <div class="ibox-content">
                    <h1 class="no-margins">
                        <a href="{{route('cash_apply.list')}}">
                            {{$data['cash_apply_num']}}
                        </a>
                    </h1>
                    {{--<div class="stat-percent font-bold text-info">20% <i class="fa fa-level-up"></i></div>--}}
                    <small>申请数量</small>
                </div>
            </div>
        </div>
        <div class="col-lg-3">
            <div class="ibox ">
                <div class="ibox-title">
                    <span class="label label-primary float-right">今天</span>
                    <h5>订单总数</h5>
                </div>
                <div class="ibox-content">
                    <h1 class="no-margins">
                        <a href="{{route('order.all',['query[time_type]'=>1,'query[start_time]'=>date('Y-m-d').' 00:00:00','query[end_time]'=>date('Y-m-d').' 23:59:59'])}}">
                            {{$data['today_order_num']}}
                        </a>
                    </h1>
                    {{--<div class="stat-percent font-bold text-navy">44% <i class="fa fa-level-up"></i></div>--}}
                    <small>总数</small>
                </div>
            </div>
        </div>
    </div>

    <div class="row">
        <div class="col-lg-3">
            <div class="ibox ">
                <div class="ibox-title">
                    <span class="label label-info float-right">待处理</span>
                    <h5>镖师申请</h5>
                </div>
                <div class="ibox-content">
                    <h1>
                        <a href="{{route('escort.apply_list')}}">
                            {{$data['escort_apply_num']}}
                        </a>
                    </h1>
                    <small>人数</small>
                </div>
            </div>
        </div>
        <div class="col-lg-3">
            <div class="ibox ">
                <div class="ibox-title">
                    <span class="label label-primary float-right">今天</span>
                    <h5>交易额</h5>
                </div>
                <div class="ibox-content">
                    <h1 class="no-margins">
                        <a href="{{route('order.all',['query[time_type]'=>1,'query[start_time]'=>date('Y-m-d').' 00:00:00','query[end_time]'=>date('Y-m-d').' 23:59:59'])}}">
                            {{$data['today_order_pay_money']}}
                        </a>
                    </h1>
                    {{--<div class="stat-percent font-bold text-navy">44% <i class="fa fa-level-up"></i></div>--}}
                    <small>总金额</small>
                </div>
            </div>
        </div>
    </div>
@endsection



